﻿// // ******************************************************************
// //       /\ /|       @file       JellyfinUserDto.cs
// //       \ V/        @brief      await29
// //       | "")       @author     Await, 285283010@qq.com
// //       /  |
// //      /  \\        @Modified   2024-11-11 19:11
// //    *(__\_\        @Copyright  Copyright (c) , 2024-11-10 14:11 Await
// // ******************************************************************

namespace AutomaticSubtitles.Contracts.Dto.Jellyfin;

public class JellyfinUserDto
{
    public JellyfinUserDto()
    {
        Configuration = new JellyfinUserConfigurationDto();
        Policy = new JellyfinUserPolicyDto();
    }

    public string Name { get; set; }

    public string ServerId { get; set; }

    public string ServerName { get; set; }

    public string ConnectUserName { get; set; }

    public string ConnectUserId { get; set; }

    public string Id { get; set; }

    public string PrimaryImageTag { get; set; }

    public bool HasPassword { get; set; }

    public bool HasConfiguredPassword { get; set; }

    public bool HasConfiguredEasyPassword { get; set; }

    public bool? EnableAutoLogin { get; set; }

    public DateTime? LastLoginDate { get; set; }

    public DateTime? LastActivityDate { get; set; }

    public JellyfinUserConfigurationDto Configuration { get; set; }

    public JellyfinUserPolicyDto Policy { get; set; }

    public double? PrimaryImageAspectRatio { get; set; }
}